import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()

driver.get("http://121.43.169.97:8848/pageA.html")
# 3.页面操作
# 通过id属性定位页面元素
# 定位元素并输入内容
driver.find_element(by=By.ID,value="userA").send_keys("admin")
driver.find_element(by=By.ID,value="passwordA").send_keys("123456")
driver.find_element(by=By.ID,value="telA").send_keys("18648968772")
driver.find_element(by=By.NAME,value="emailA").send_keys("1625953659@qq.com")

time.sleep(3)

driver.quit()